package cn.qingyun.gis.modules.enterprise.mapper;

import cn.qingyun.gis.modules.enterprise.entity.Building;
import cn.qingyun.gis.modules.enterprise.entity.dto.EnterpriseTableDataDto;
import cn.qingyun.gis.modules.enterprise.response.EnterpriseOverviewResponse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 五大建筑场景表 Mapper 接口
 * </p>
 *
 * @author skb
 * @since 2024-03-29
 */
public interface BuildingMapper extends BaseMapper<Building> {

    EnterpriseOverviewResponse getBuildingOverView(@Param("type") String type,@Param("code") String code,@Param("types") List<String> types);

    int getBuildingClientNum(@Param("type") String type,@Param("code") String code,@Param("types") List<String> types);

    int getBuildingCount(@Param("type") String type,@Param("code") String code,@Param("types") List<String> types);

    List<EnterpriseTableDataDto> getBuildingList(@Param("type") String type,@Param("code") String code,@Param("types") List<String> types);
}
